package com.sxg.convert;

import com.sxg.entity.SxgGoodsDetailEntity;
import com.sxg.vo.SxgGoodsDetailVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 商品详情信息
*
* @author 浪漫写尽歌谱 3298751420@qq.com
* @since 1.0.0 2024-03-07
*/
@Mapper
public interface SxgGoodsDetailConvert {
    SxgGoodsDetailConvert INSTANCE = Mappers.getMapper(SxgGoodsDetailConvert.class);

    SxgGoodsDetailEntity convert(SxgGoodsDetailVO vo);

    SxgGoodsDetailVO convert(SxgGoodsDetailEntity entity);

    List<SxgGoodsDetailVO> convertList(List<SxgGoodsDetailEntity> list);

}